/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package SYSGEST.br.Saida;

import SYSGEST.br.Funcionario.Funcionario;
import SYSGEST.br.Produto.Produtos;
import SYSGEST.br.UndSaude.UndSaude;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author Mesopotanea
 */
@Entity
@Table(name = "Saida")

public class Saida {
    
    
    @Id
    @GeneratedValue
    private int ID;

     private String funcionario;
    
    @ManyToOne
    private UndSaude uSaude;
    
    @Column
    private int qtdSaida;

    @ManyToOne
    private Produtos prod;

   

    
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dSaida;

    /**
     * @return the ID
     */
    public int getID() {
        return ID;
    }

    /**
     * @param ID the ID to set
     */
    public void setID(int ID) {
        this.ID = ID;
    }

    /**
     * @return the codEsf
     */
 
    /**
     * @return the uSaude
     */
    public UndSaude getuSaude() {
        return uSaude;
    }

    /**
     * @param uSaude the uSaude to set
     */
    public void setuSaude(UndSaude uSaude) {
        this.uSaude = uSaude;
    }

    /**
     * @return the codBarras
     */
   
   
    /**
     * @return the prod
     */
    public Produtos getProd() {
        return prod;
    }

    /**
     * @param prod the prod to set
     */
    public void setProd(Produtos prod) {
        this.prod = prod;
    }


    /**
     * @return the dSaida
     */
    public Date getdSaida() {
        return dSaida;
    }

    /**
     * @param dSaida the dSaida to set
     */
    public void setdSaida(Date dSaida) {
        this.dSaida = dSaida;
    }

    /**
     * @return the qtdSaida
     */
    public int getQtdSaida() {
        return qtdSaida;
    }

    /**
     * @param qtdSaida the qtdSaida to set
     */
    public void setQtdSaida(int qtdSaida) {
        this.qtdSaida = qtdSaida;
    }

    /**
     * @return the funcionario
     */
    public String getFuncionario() {
        return funcionario;
    }

    /**
     * @param funcionario the funcionario to set
     */
    public void setFuncionario(String funcionario) {
        this.funcionario = funcionario;
    }

  


}
